package org.example.course.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.commonapi.domain.TaskDiscussReview;
import org.example.commonapi.dto.TaskDiscussReviewDto;
import org.example.course.service.TaskDiscussReviewService;
import org.example.commonapi.mapper.TaskDiscussReviewMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author DELL
* @description 针对表【task_discuss_review(讨论的评论区)】的数据库操作Service实现
* @createDate 2024-07-05 16:11:37
*/
@Service
public class TaskDiscussReviewServiceImpl extends ServiceImpl<TaskDiscussReviewMapper, TaskDiscussReview>
    implements TaskDiscussReviewService{

    @Resource
    TaskDiscussReviewMapper taskDiscussReviewMapper;

    @Override
    public List<TaskDiscussReviewDto> listTaskDiscussReview(Long discussId) {
        List<TaskDiscussReviewDto> list=taskDiscussReviewMapper.listTaskDiscussReview(discussId);
        return list;
    }
}




